package day04;

import java.util.Scanner;

public class SwitchCaseDemo {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int input = sc.nextInt();
        switch (input){//String 枚举 byte short char int
            case 1:
                System.out.println(00);
                break;
            case 2:
                System.out.println(11);
                break;
            case 3:
                System.out.println(22);
                break;
            default:
                System.out.println("default");
        }
    }
}
